package net.neptech.feign.config;

import net.neptech.model.sys.Staff;
import net.neptech.vm.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(contextId = "storageNeed", value = "system")
public interface StorageFeignClient {
    @GetMapping("/system/staff/getStaffInfoByUserId/{userId}")
    ResponseResult<Staff> getStaffInfoByUserId(@PathVariable("userId") Long userId);
}
